/**
 * IHIS 1.0 by HoneyBread (김민호, 이충희, 이성연, 신경민)
 * SEP 8기 KAIST
 */
package ihis.tms.server.service.item;

import ihis.core.service.RequestMessage;
import ihis.core.service.ResponseMessage;
import ihis.tms.server.service.IService;

/**
 * @author minho kim
 *
 */
public class PingTestService implements IService {

	/* (non-Javadoc)
	 * @see ihis.tms.server.service.IService#run(ihis.core.service.RequestMessage)
	 */
	@Override
	public ResponseMessage run(RequestMessage requestMessage) {
		ResponseMessage responseMessage = new ResponseMessage();
		
		try {
			responseMessage.setOk(true);
			responseMessage.setResult("PING_TEST");
		} catch (Exception e){
			responseMessage.setOk(false);
			e.printStackTrace();
		}
		return responseMessage;
	}
}